import predict_seg
import fastcv as f

cam = f.Cam(0)
while cam.cap.isOpened():
    frame = cam.get_frame()
    predict_seg.run(frame,"onnxdetect/bestseg.onnx", True, "segment")